package com.cyt.sys.dao;

import com.cyt.base.dao.BaseDao;
import com.cyt.sys.model.po.SysUserPost;
import org.springframework.stereotype.Repository;


/**
 *@Author: YuShengQiang
 *@Date: 2018-11-16 11:45
 *@Description: 角色dao层
 */
@Repository
public interface SysUserPostDao extends BaseDao<SysUserPost> {
    /**
     * 根据角色id删除
     *
     * @param userId 角色id
     * @return
     * @author shengQiang yu
     * @date 2018-12-15 10:25
     */
    public int deleteByUserId(String userId);
}